﻿Public Class NhaBUS
    Private nDAO As NhaDAO
    Public Sub New()
        nDAO = New NhaDAO
    End Sub
    Public Function CapNhat(ByVal n As NhaDTO, ByVal f As Boolean) As Boolean
        Return nDAO.CapNhat(n, f)
    End Function
    Public Function XoaNha(ByVal emp As NhaDTO)
        Return nDAO.XoaNha(emp)
    End Function
    Public Function GetData() As List(Of NhaDTO)
        Return nDAO.GetData()
    End Function
End Class
